<template>
  <view class="container">
    <sanheyi
    :isShow1="true" :isShowcheckbox1="true" title1="仓库" v-model:checkboxvalue1="checkboxvalue1" v-model:input1="input1"
    :isShow2="true":isShowcheckbox2="true" title2="仓位"  v-model:checkboxvalue2="checkboxvalue2" v-model:input2="input2"
    :isShow3="true" :isShowcheckbox3="true" title3="物料"  v-model:checkboxvalue3="checkboxvalue3" v-model:input3="input3"
    :isShow4="true"  title4="物料"  v-model:checkboxvalue4="checkboxvalue4" v-model:input4="input4"
    ></sanheyi>
<view>{{ checkboxvalue1 }}-------{{ input1 }}</view>
<view>{{ checkboxvalue2 }}-------{{ input2 }}</view>
<view>{{ checkboxvalue3 }}-------{{ input3 }}</view>
<view>{{ checkboxvalue4 }}-------{{ input4 }}</view>



  </view>
</template>

<script lang="ts" setup>
import { ref } from 'vue'
import sanheyi from '@/components/sanheyi.vue';
// 这里可以添加逻辑代码
let input1 = ref<string>("")
let input2 = ref<string>("")
let input3 = ref<string>("")
let input4 = ref<string>("")

let checkboxvalue1 = ref<boolean>(false)
let checkboxvalue2 = ref<boolean>(false)
let checkboxvalue3 = ref<boolean>(false)
let checkboxvalue4 = ref<boolean>(false)



// 定义顶部导航栏标题
const title = ref('');

</script>

<style scoped>

</style>
